/*
 * @Author: myw
 * @Email: 516378746@qq.com
 * @Date: 2020-02-24 08:48:43
 * @Descripttion: 
 */
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { WorkManageComponent } from './work-manage/work-manage.component';
import { WarehouseuserManageComponent } from './warehouseuser-manage/warehouseuser-manage.component';
import { TabManageComponent } from './tab-manage/tab-manage.component';
import { AccountaliasManageComponent } from './accountalias-manage/accountalias-manage.component';
import { SubmaterialManageComponent } from './submaterial-manage/submaterial-manage.component';
import { SubwarehouseManageComponent } from './subwarehouse-manage/subwarehouse-manage.component';
import { MaterialRelationComponent } from './material-relation/material-relation.component';
import { MrpManageComponent } from './mrp-manage/mrp-manage.component';


const routes: Routes = [
    {
        path: "work",
        data: {
            uid : 311,
            title: "工作令维护",
            isLastLevel : true,
            useCache : true
        },
        component: WorkManageComponent
    },
    {
        path: "subwarehouse",
        data: {
            uid : 312,
            title: "仓库管理",
            isLastLevel : true,
            useCache : true
        },
        component: SubwarehouseManageComponent
    },
    {
        path: "warehouseuser",
        data: {
            uid : 313,
            title: "库房管理员维护",
            isLastLevel : true,
            useCache : true
        },
        component: WarehouseuserManageComponent
    },
    {
        path: "tab",
        data: {
            uid : 314,
            title: "物料标签维护",
            isLastLevel : true,
            useCache : true
        },
        component: TabManageComponent
    },
    {
        path: "accountalias",
        data: {
            uid : 315,
            title: "账户别名管理",
            isLastLevel : true,
            useCache : true
        },
        component: AccountaliasManageComponent
    },
    {
        path: "submateriral",
        data: {
            uid : 316,
            title: "物料维护",
            isLastLevel : true,
            useCache : true
        },
        component: SubmaterialManageComponent
    },
    {
        path: "materialrelation",
        data: {
            uid : 317,
            title: "物料关系维护",
            isLastLevel : true,
            useCache : true
        },
        component: MaterialRelationComponent
    },
    {
        path: "mrpmanage",
        data: {
            uid : 318,
            title: "MRP库房关联",
            isLastLevel : true,
            useCache : true
        },
        component: MrpManageComponent
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class BasedataManageRoutingModule { }
